//
//  BoxCostHeadView.m
//  XLDoctor
//
//  Created by longma on 2018/10/8.
//  Copyright © 2018年 XLH. All rights reserved.
//

#import "LanguageCell.h"

@implementation LanguageCell

- (void)awakeFromNib{
    [super  awakeFromNib];
    [self.iconButton setImage:MJUIImageMake(@"icon_chose1") forState:UIControlStateNormal];
    [self.iconButton setImage:MJUIImageMake(@"icon_chose2") forState:UIControlStateSelected];
    self.itemButton = [HealthHelper initItemButton:self];
}

- (void)setModel:(MJCommonModel *)model{
    _model = model;
    
    [self.iconButton setSelected:model.isSelect];
    self.titleLabel.text = model.title;
}

@end
